#app,
body,
html {
  height: 100%;
}

.pd10 {
  padding: 10px;
}

#layout {
  height: 100%;
}

.layout-footer {
  height: 60px;
  width: 100%;
  overflow: hidden;
  line-height: 60px;
  text-align: center;
}

.layout-footer a {
  line-height: 60px;
  text-align: center;
}

.ant-layout-footer {
  padding: 0;
}

.v-contextmenu {
  z-index: 999999;
}

.theme-light .layout-head {
  #logo {
    height: 60px;
  }

  #header {
    padding-left: 0px;
    padding-right: 15px;
  }
}

.theme-dark .layout-head {
  #logo {
    height: 60px;

    img {
      margin-top: -3.5px;
    }
  }

  #header {
    padding-left: 0px;
    padding-right: 15px;
  }
}


.theme-dark .layout-side {
  #logo {
    height: 60px;
  }

  #header {
    padding-left: 15px;
    padding-right: 15px;
  }

  >.ant-layout-sider {
    z-index: 999;
  }
}


.theme-light .layout-side {
  #logo {
    height: 60px;
  }

  #header {
    padding-left: 15px;
    padding-right: 15px;
  }

  >.ant-layout-sider {
    z-index: 999;
  }
}



.ant-layout>.ant-layout-header {
  padding-left: 0px;
  padding-right: 0px;
  height: 60px;
  line-height: 60px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  z-index: 601;
}

.ant-layout-sider {
  &.fixed-side {
    height: 100vh;
    position: relative;
    overflow: hidden !important;

    &>.ant-layout-sider-children>div {
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      overflow-x: hidden;
    }
  }
}

#logo {
  text-align: center;
}

#logo .image {
  margin-top: 0px;
  height: 58px;
}

#logo .image2 {
  margin-top: 5px;
  margin-left: -5px;
  height: 50px;
}

#logo .title {
  display: inline-block;
  color: @primary-color  !important;
  font-size: 23px;
  margin-top: 2px;
  height: 60px;
  font-weight: 700;
  line-height: 53px;
}

#header {
  height: 60px;
  line-height: 60px;
  background-color: white;
}

#header .next-menu {
  float: right;
  height: 60px;
}

#header .prev-menu {
  display: inline-block;
  height: 60px;
}

#header .head-logo {
  width: 250px;
  height: 60px;
  display: inline-block;
  vertical-align: top;
}

#header .head-menu {
  .ant-menu {
    height: 60px;
    line-height: 60px;
  }

  display: inline-block;
  width: calc(100% - 700px);
}

#header .prev-menu .menu-item,
#header .next-menu .menu-item {
  font-size: 15.8px;
  padding: 0 13.5px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  cursor: pointer;
}

.avatar-dropdown {
  width: 160px !important;
}

.notice-dropdown {
  .ant-tabs {
    margin: 10px;
  }

  width: 368px !important;
  height: 300px;
  margin: 10px;
}

#header .prev-menu .locale-item,
#header .next-menu .locale-item {
  font-size: 15.8px;
  padding: 0 13.5px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
}

#header .prev-menu .avatar-item,
#header .next-menu .avatar-item {
  cursor: pointer;
  margin-left: 13px;
  margin-right: 13px;
  height: 60px;
  width: auto;
  padding-bottom: 15px;
  padding-right: 5px;
  padding-left: 5px;
  display: inline-block;

  img {
    border-radius: 100px;
  }
}

#header .prev-menu .notice-item,
#header .next-menu .notice-item {
  margin-left: 13px;
  margin-right: 13px;
  height: 60px;
  padding-top: 18px;
  padding-bottom: 15px;
  padding-right: 5px;
  padding-left: 5px;
  font-size: 16px;
  display: inline-block;
}


/** 头部固定 */
.fixedHeader {
  #content {
    height: 100%;
    width: 100%;
  }
}

.fixedHeader.muiltTab {
  z-index: 600;

  #content {
    height: calc(~"(100% - 51px)");
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
  }

  #content::-webkit-scrollbar {
    width: 0 !important;
  }
}

/** 主题配置 */
.commonone-color .color-title {
  padding: 15px 0 0px 20px;
  margin-bottom: 4px;
}

.commonone-color .color-content {
  padding: 15px 10px 0 20px;
}

.commonone-color .color-content ul {
  list-style: none;
  padding: 0px;
}

.commonone-color .color-content ul li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 70px;
  height: 50px;
  margin: 0 20px 20px 0;
  padding: 2px 2px 2px 2px;
  background-color: #f2f2f2;
  cursor: pointer;
  font-size: 12px;
  color: #666;
  border-radius: 6px;
}

.commonone-color .color-content li.layui-this:after,
.commonone-color .color-content li:hover:after {
  width: 81px;
  height: 63px;
  top: -6px;
  left: -5px;
  border: @primary-color 2.2px solid;
  opacity: 1;
  border-radius: 6px;
}

.commonone-color .color-content li:after {
  content: "";
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 0;
  border: 1px solid #f2f2f2;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  opacity: 0;
}

.select-color {
  margin-bottom: 30px;
}

.select-color .select-color-title {
  padding: 10px 0 0px 20px;
  margin-bottom: 4px;
}

.select-color .select-color-content {
  padding: 20px 0 0px 0px;
  margin-bottom: 4px;
}

.select-color .select-color-content .select-color-item {
  background-color: gray;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  float: left;
  margin-left: 20px;
  color: white;
  font-size: 13px;
  line-height: 25px;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  line-height: 30px;
}


#nprogress .bar {
  background: @primary-color !important;
}

#nprogress .peg {
  box-shadow: @primary-color !important;
}

#login .head {
  color: #516598;
}

.common-dot-tab {
  height: 32px;
  line-height: 32px;
  margin-left: 10px;
  margin-top: 10px;
}



.common-dot-tab .tabdot {
  margin-right: 5px;
  margin-top: -2px;
  vertical-align: middle;
  width: 10px;
  height: 4px;
  border-radius: 20px;
  display: inline-block;
  background-color: #ccc;
}

.common-dot-tab .ant-tabs-tab-active .tabdot {
  background-color: @primary-color !important;
}

.common-dot-tab .tab {
  width: calc(~"(100% - 40px)");
  display: inline-block;
}

.common-dot-tab .ant-tabs-tab-prev {
  border-right: 1px solid #f0f2f5;
  background-color: #f0f2f5;
  height: 32px !important;
  line-height: 32px !important;
  text-align: center;
}

.common-dot-tab .ant-tabs-tab-next {
  border-left: 1px solid #f0f2f5;
  background-color: #f0f2f5;
  height: 32px !important;
  line-height: 32px !important;
  text-align: center;
}

.common-dot-tab .tab-tool {
  float: right;
  top: 0px;
  right: 10px;
  border: none;
}

.common-dot-tab .ant-tabs-bar {
  margin: 0px !important;
  border: none;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.common-dot-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
  border-radius: 3px;
  border: none;
  margin-right: 4px;
  margin-left: 4px;
  height: 32px !important;
  line-height: 32px !important;
  color: #808695;
  background-color: white;
}

.common-dot-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab:first-child {
  margin-left: 6px;
}


.common-dot-tab .ant-tabs-nav .ant-tabs-tab {
  position: relative;
  padding: 5px 10px !important;
}

.common-dot-tab .ant-tabs-nav-container {
  height: 32px;
}

.common-dot-tab .ant-tabs-nav .ant-tabs-tab>div {
  margin-left: 5px;
}


.common-card-tab {
  height: 40.5px;
  line-height: 40.5px;
  z-index: 200;
  background-color: white !important;
  border-top: 1px solid whitesmoke;
  border-bottom: 1px solid whitesmoke;
}

.common-card-tab .ant-tabs-tab-active::before {
  background-color: @primary-color !important;
}


.common-card-tab .tab {
  width: calc(~"(100% - 40px)");
  display: inline-block;
}

.common-card-tab .ant-tabs-nav-container {
  padding-left: 40px;
  padding-right: 40px;
}

.common-card-tab .ant-tabs-tab-prev {
  border-right: 1px solid whitesmoke;
  width: 40px !important;
  height: 34px !important;
  line-height: 39px !important;
  text-align: center;
  opacity: 1;
  pointer-events: auto;
  color: rgba(0, 0, 0, 0.65);
}

.common-card-tab .ant-tabs-tab-next {
  border-left: 1px solid whitesmoke;
  width: 40px !important;
  height: 34px !important;
  line-height: 39px !important;
  text-align: center;
  opacity: 1;
  pointer-events: auto;
  color: rgba(0, 0, 0, 0.65);
}

.common-card-tab .tab-tool {
  float: right;
  border: none !important;
  border-left: 1px solid whitesmoke !important;
  width: 40px !important;
  height: 39px !important;
  line-height: 39px !important;
}

.common-card-tab .ant-tabs-bar {
  margin: 0px !important;
  border: none;
}

.common-card-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
  border-radius: 0px;
  border: none;
  height: 34px !important;
  line-height: 34px !important;
  color: #808695;
  background-color: white;
  margin-right: 0px;
  border-right: whitesmoke 1px solid;
}

.common-card-tab .ant-tabs-nav-container {
  height: 34px;
}

.common-card-tab .ant-tabs-nav .ant-tabs-tab::before {
  background-color: whitesmoke;
  height: 8px;
  width: 8px;
  border-radius: 50px;
  position: absolute;
  margin-top: 17px;
  margin-left: 13px;
}

.common-card-tab .ant-tabs-nav .ant-tabs-tab>div {
  margin-left: 13.5px;
  color: #808695;
}

.common-label-tab {
  height: 45.5px;
  line-height: 45.5px;
}

.common-label-tab .tab {
  width: calc(~"(100% - 40px)");
  display: inline-block;
}

.common-label-tab .ant-tabs-tab-prev {
  border-right: 1px solid whitesmoke;
  height: 32px !important;
  line-height: 32px !important;
  text-align: center;
}

.common-label-tab .ant-tabs-tab-active {
  background-color: @primary-color !important;
}

.common-label-tab .ant-tabs-tab-active * {
  color: white !important;
}

.common-label-tab .ant-tabs-tab-next {
  border-left: 1px solid whitesmoke;
  height: 32px !important;
  line-height: 32px !important;
  text-align: center;
}

.common-label-tab .tab-tool {
  float: right;
  top: 6px;
  right: 6px;
  border: none;
}

.common-label-tab .ant-tabs-bar {
  margin: 0px !important;
  border: none;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.common-label-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
  border-radius: 3px;
  border: none;
  margin-right: 4px;
  margin-left: 4px;
  height: 32px !important;
  line-height: 32px !important;
  color: #808695;
  background-color: white;
}

.common-label-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab:first-child {
  margin-left: 6px;
}

.common-label-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab:last-child {
  margin-right: 6px;
}

.common-label-tab .ant-tabs-nav-container {
  height: 32px;
}

.common-label-tab .ant-tabs-nav .ant-tabs-tab::before {
  display: none;
}

.common-label-tab .ant-tabs-nav .ant-tabs-tab>div {
  color: #808695;
}

.fade-right-enter-active {
  transition: all .90s;
}

.fade-right-leave-active {
  transition: all .90s;
}

.fade-right-enter-from {
  opacity: 0;
  transform: translateX(-35px);
}

.fade-right-leave-to {
  opacity: 0;
  transform: translateX(35px);
  display: none;
}

.fade-top-enter-active {
  transition: all .90s;
}

.fade-top-leave-active {
  transition: all .90s;
}

.fade-top-enter-from {
  opacity: 0;
  transform: translateY(35px);
}

.fade-top-leave-to {
  opacity: 0;
  transform: translateY(-35px);
  display: none;
}

.ant-card {
  border-radius: 4px !important;
}

.ant-card-bordered {
  border: none !important;
}

.ant-divider {
  // background-color: whitesmoke !important;
}

.ant-layout-content {
  flex: 1 !important;
}

.ant-menu-dark,
.ant-menu-dark {
  background: @night-bg-front  !important;
}

.ant-menu-dark .ant-menu-inline.ant-menu-sub {
  background-color: @night-bg-front  !important;
}

.ant-menu-vertical .ant-menu-item,
.ant-menu-vertical-left .ant-menu-item,
.ant-menu-vertical-right .ant-menu-item,
.ant-menu-inline .ant-menu-item,
.ant-menu-vertical .ant-menu-submenu-title,
.ant-menu-vertical-left .ant-menu-submenu-title,
.ant-menu-vertical-right .ant-menu-submenu-title,
.ant-menu-inline .ant-menu-submenu-title {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

.ant-menu-dark,
.ant-menu-dark .ant-menu-sub {
  background-color: @night-bg-front  !important;
}

.ant-menu-horizontal>.ant-menu-item,
.ant-menu-horizontal>.ant-menu-submenu {
  border-bottom: none;
  top: 0px;
}

.ant-menu-horizontal>.ant-menu-item,
.ant-menu-horizontal>.ant-menu-submenu:hover {
  border-bottom: none;
  top: 0px;
}

.ant-menu-inline-collapsed {
  width: auto;
}

@ant-menu-hieht: 48px;

.ant-menu-vertical>.ant-menu-item,
.ant-menu-vertical-left>.ant-menu-item,
.ant-menu-vertical-right>.ant-menu-item,
.ant-menu-inline>.ant-menu-item,
.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title,
.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,
.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,
.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title {
  height: @ant-menu-hieht  !important;
  line-height: @ant-menu-hieht  !important;
}

.ant-menu-submenu-title>span {
  font-size: 13.8px !important;
}

.ant-form-inline .ant-form-item {
  margin-bottom: 10px;
}

.ant-form .ant-form-text {
  margin-left: 10px;
}

.mes_ebr {
  .button_list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

    .ant-btn {
      margin-bottom: 10px;

      .i-icon { vertical-align: middle;}
    }
  }

}

